import IconDashBoard from './assets/icons/dashboard.svg'
import IconSystem from './assets/icons/system.svg'
import IconConfig from './assets/icons/config.svg'
import IconAnalysis from './assets/icons/analysis.svg'
import IconPatrol from './assets/icons/patrol.svg'
import IconList from './assets/icons/list.svg'

export default [
  {
    title: '控制面板',
    routeName: 'Home',
    icon: IconDashBoard,
    routes: ['Home']
  },
  {
    title: '系统管理',
    routeName: 'System',
    icon: IconSystem,
    children: [
      { title: '角色管理', routeName: 'Part1-1', routes: ['Part1-1']},
      { title: '组织机构', routeName: 'Part1-2', routes: ['Part1-2']},
      { title: 'FORM', routeName: 'Part1-3', routes: ['Part1-3']},
      { title: '员工管理', routeName: 'Part1-4', routes: ['Part1-4']},
      { title: '模块管理', routeName: 'Part1-5', routes: ['Part1-5']},
      { title: '角色授权', routeName: 'Part1-6', routes: ['Part1-6']},
      { title: '数据字典', routeName: 'Part1-7', routes: ['Part1-7']}
    ]
  },
  {
    title: '数据配置',
    routeName: 'DataConfig',
    icon: IconConfig,
    children: [
      { title: '检查项配置', routeName: 'Part2-1', routes: ['Part2-1']},
      { title: '检查模板配置', routeName: 'Part2-2', routes: ['Part2-2']},
      { title: '任务工序配置', routeName: 'Part2-3', routes: ['Part2-3']},
      { title: '任务目标配置', routeName: 'Part2-4', routes: ['Part2-4']},
      { title: '检查类型配置', routeName: 'Part2-5', routes: ['Part2-5']},
      { title: '问题类别配置', routeName: 'Part2-6', routes: ['Part2-6']},
      { title: '问题描述配置', routeName: 'Part2-7', routes: ['Part2-7']}
    ]
  },
  {
    title: '问题管理',
    routeName: 'Question',
    icon: IconList,
    children: [
      { title: '任务管理', routeName: 'Tasks', routes: ['Tasks', 'TaskNew', 'TaskEdit']},
      { title: '编制计划', routeName: 'Part3-2', routes: ['Part3-2']},
      { title: '问题录入', routeName: 'Part3-3', routes: ['Part3-3']},
      { title: '问题清单', routeName: 'Part3-4', routes: ['Part3-4']},
      { title: '问题分析', routeName: 'Part3-5', routes: ['Part3-5']},
      { title: '问题整改', routeName: 'Part3-6', routes: ['Part3-6']},
      { title: '问题验证', routeName: 'Part3-7', routes: ['Part3-7']}
    ]
  },
  {
    title: '问题分析',
    routeName: 'Analysis',
    icon: IconAnalysis,
    children: [
      { title: '问题趋势', routeName: 'Part4-1', routes: ['Part4-1']},
      { title: '任务工序', routeName: 'Part4-2', routes: ['Part4-2']},
      { title: '按单位分析', routeName: 'Part4-3', routes: ['Part4-3']},
      { title: '按责任人', routeName: 'Part4-4', routes: ['Part4-4']},
      { title: '按岗位分析', routeName: 'Part4-5', routes: ['Part4-5']},
      { title: '按整改状态', routeName: 'Part4-6', routes: ['Part4-6']},
      { title: '按问题级别', routeName: 'Part4-7', routes: ['Part4-7']}
    ]
  },
  {
    title: '巡检管理',
    routeName: 'PatrolManagement',
    icon: IconPatrol,
    children: [
      { title: '新建巡检', routeName: 'Part5-1', routes: ['Part5-1']},
      { title: '巡检GIS', routeName: 'Part5-2', routes: ['Part5-2']},
      { title: '巡检回溯', routeName: 'Part5-3', routes: ['Part5-3']
      }
    ]
  }
]